const utility = require("utility");
const {sign} = require("jsonwebtoken");

async function outLogin(data){
    let delSql = `DELETE FROM token where userId="${data.userId}" `;
    const delRows = await global.sql(delSql)
    console.log(data)
    console.log(delRows)
    return {
        code: 200,
        msg: '请求成功',
        data: null
    }
    // let delSql = `DELETE FROM websites where id=${data.}`
}

exports.outLogin = outLogin

